DevOwl\RealCookieBanner\Utils D

Total Complexity 134
Dependencies 3
Dependents 25
Total lines 574
Lines of code 303
Logical lines of code 199
Comment lines 236
Methods 26
Properties 0

Methods 26

Method Rating Maintainability Complexity Lines of code
isPageBuilder()
B
68 28 3
setCookie()
A
45 10 38
isFrontend()
A
57 9 17
removeNonPermalinkQueryFromUrl()
S
51 7 25
getPermalink()
S
54 7 21
host()
S
54 7 20
isPluginActive()
S
55 6 19
getOriginalHomeUrl()
S
61 6 11
getOptionRaw()
S
59 5 14
isDownload()
S
63 5 9
posts_where_find_in_set()
S
58 4 13
currentContentTypeIs()
S
60 4 13
array_flatten()
S
62 4 11
getIpAddress()
S
62 4 10
endsWith()
S
63 4 10
startsWith()
S
67 3 7
giveHost()
S
69 3 5
getRandomWeightedElement()
S
64 3 9
isThemeActive()
S
61 2 11
isPreinstalledEnvironment()
S
68 2 7
get_admin_colors()
S
68 2 6
isCLI()
S
78 2 3
hash()
S
66 2 8
anyPluginActive()
S
72 2 4
getRequestUrl()
S
69 2 6
getPreviewUrl()
S
77 1 3